function myconfirm(msg, fn) {
	$.modal.confirm(msg, fn, function(){}, {
		textCancel:"取消",
		textConfirm:"确认"
	});
}

function myalert(msg, fn) {
	$.modal.alert(msg, {
		buttons:{
			'关闭': {
				classes :	'blue-gradient glossy big full-width',
				click :		function(modal) {
					if(fn!=null)
						fn();
					modal.closeModal();
				}
			}
		}
	});
}